

CXX = ${CROSS}g++
CC = ${CROSS}gcc
AR = ${CROSS}ar
RM = rm -f

ROOT=/tmp/marco/boost/

INCS = -I${ROOT}/include
LIB_INCS = ${ROOT}/lib

LIBS = ${LIB_INCS}/libboost_regex.a
LIBS += ${LIB_INCS}/libboost_timer.a

TAGS = lex re timer accumulators

all:
	@echo "No target."

lex: clean
	${CXX} ${INCS} -o lex lex.cpp

re: clean
	${CXX} ${INCS} -o re re.cpp ${LIBS} 

timer: clean
	${CXX} ${INCS} -o timer timer.cpp ${LIBS}

accumulators: clean
	${CXX} ${INCS} -o accumulators accumulators.cpp 

progress_display: clean
	${CXX} ${INCS} -o progress_display progress_display.cpp 

clean:
	${RM} ${TAGS} *.o 
